﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="css/base.css" rel="stylesheet" />
<script src="script/jquery-1.10.2.js" type="text/javascript"></script>
<script src="script/jquery.validate.js" type="text/javascript"></script>
<script src="script/jquery.metadata.js" type="text/javascript"></script>
<script src="script/messages_cn.js" type="text/javascript"></script>
<script>
$(function(){
    $("form").validate();
});
</script>
<style type="text/css">
.red {
	color: red;
	text-align: center;
}
</style>
</head>

<body>
	<div id="page">
		<div id="header">
			<div id="menu">
				<div id="corpTitle">美食前线</div>
				<div id="fastNav">
					<ul>
						<li>首页</li>
						<li>产品展示</li>
						<li>新闻动态</li>
						<li>留言板</li>
						<li>联系我们</li>
					</ul>
				</div>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
		<div id="main">
			<form action="CheckLoginServlet" method="post">
				<fieldset class="edit-panel">
					<legend>用户登录</legend>
					<div>
						<label for="username" class="fieldname">用户名：</label> <input
							class="required" type="text" name="username" id="username">
					</div>
					<div>
						<label for="password" class="fieldname">密码：</label> <input
							class="required" type="password" name="password" id="password">
					</div>
					<div class="red">
						${error }
					</div>
					<div>
						<label class="fieldname">&nbsp;</label>
						<button>登录</button>
						<a href="register.html">注册</a>
					</div>
				</fieldset>
			</form>
		</div>
		<div id="footer">
			<p>
				<a>首页|</a><a>关于我们|</a><a>联系我们</a>
			</p>
			<p>@©2016 网站样板-餐饮 版权所有</p>
			<p>技术支持：广州广力 | 手机版 | 管理登录</p>
		</div>
	</div>
</body>
</html>

